package ar.edu.unq.tpi.constriu.c1.tejeda.Dominio.Agenda;



/**
 * Esta clase filtra por String
 * @author nnydejesus
 */
public class Stringfilter implements FilteredField{

	@Override
	public boolean pass(Object object, Object example) {
		if(example ==null)
			return true;
		else
			return ((String)object).contains((String) example);
	}

}